/* component/calendar/calendar.wxss */

.icon {
    background-image: url("https://bullet001.oss-cn-shanghai.aliyuncs.com/file/payManager7d303c46-4738-4528-9a1c-4d3502c5aa25.png");
    background-size: 100% auto;
    width: 32rpx;
    height: 32rpx;
    background-position-y: 10rpx;
    background-repeat: no-repeat;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper {
    transition: height 0.3s;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.today {
    width: 88rpx;
    height: 42rpx;
    background: #F3F4F4;
    border-radius: 22rpx;
    font-size: 24rpx;
    line-height: 42rpx;
    color: #868D8D;
    text-align: center;
    margin-right: 6rpx;
}

.today:active {
    background: #dfdfdf;
    color: #5f6464;
}

.direction-column {
    flex-direction: column;
}

.flex1 {
    flex: 1;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

.calendar {
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
    background-color: #ffffff;
}

.calendar .title {
    padding: 30rpx 0 10rpx 20rpx;
    line-height: 60rpx;
    font-size: 32rpx;
    font-weight: 600;
    color: #1C2525;
    letter-spacing: 1px;
}

.calendar .title .year-month {
    margin-right: 20rpx;
}

.calendar .title .icon {
    padding: 0 16rpx;
    font-size: 32rpx;
    color: #999;
}

.calendar .title .open {
    background-color: #f6f6f6;
    color: #999;
    font-size: 22rpx;
    line-height: 36rpx;
    border-radius: 18rpx;
    padding: 0 14rpx;
}

.list-open {
    position: relative;
    justify-content: center;
}

.list-open .icon::after {
    content: '';
    position: absolute;
    top: 16rpx;
    right: 80rpx;
    display: block;
    width: 278rpx;
    height: 0rpx;
    border-bottom: 1rpx solid #F4F4F7;
}

.list-open .icon::before {
    content: '';
    position: absolute;
    top: 16rpx;
    left: 80rpx;
    display: block;
    width: 278rpx;
    height: 0rpx;
    border-bottom: 1rpx solid #F4F4F7;
}


.fold {
    transform: rotate(180deg);
}

.unfold {
    transform: rotate(0deg);
}

.calendar .calendar-week {
    line-height: 40rpx;
    font-size: 28rpx;
    color: #999;
}

.calendar .calendar-week .calendar-week-item {
    width: 100rpx;
    text-align: center;
}

.calendar .calendar-main {
    padding: 18rpx 0rpx;
    transition: height 0.3s;
    align-content: flex-start;
    overflow: hidden;
}

.calendar .calendar-main .day {
    position: relative;
    width: 100rpx;
    color: #666;
    text-align: center;
    height: 82rpx;
}

.calendar .calendar-main .day .bg {
    height: 66rpx;
    line-height: 66rpx;
    font-size: 28rpx;
    color: #333;
}

.calendar .calendar-main .day .now {
    width: 66rpx;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    background: #00D679;
    opacity: 0.5;
    margin: 0 auto;
}

.calendar .calendar-main .day .select {
    width: 66rpx;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    background: #00D679;
    margin: 0 auto;
    opacity: 1;
}

.calendar .calendar-main .day .spot::after {
    position: absolute;
    content: "";
    display: block;
    width: 8rpx;
    height: 8rpx;
    bottom: 22rpx;
    background: #0EC0B8;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
}

.calendar .calendar-main .day .deep-spot::after {
    position: absolute;
    content: "";
    display: block;
    width: 8rpx;
    height: 8rpx;
    bottom: 22rpx;
    background: #FF7416;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
}

.calendar .calendar-main .day .other-month {
    color: #ccc;
    background: transparent;
}

.header-wrap .month {
    font-size: 36rpx;
    color: #202536;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.header-wrap .month image {
    margin-left: 12rpx;
    width: 24rpx;
    height: 24rpx;
}